export const regularName = /^[a-zA-Z]{1,12}$/;
export const regularPassword = /^[a-zA-Z0-9]{6,12}$/;
export const regularAge = /^(?:[0-9]|[1-9][0-9]|1[0-3][0-9]|140)$/;
export const regularTel =
    /^(0|86|17951)?(13[0-9]|15[012356789]|166|17[3678]|18[0-9]|14[57])[0-9]{8}$/;
export const regularSex = /^[01]$/;
export const regularLevel = /^[0-2]/;
export const nonEmptyValidator = /^.+$/;
export const httpOrHttps = /^(http|https):\/\//